package com.why;
public class Application {
    public static void main(String[] args) {
        Goods a1 = new Goods();
        a1.setName("牙刷");
        a1.setPrice(10);
        System.out.println(a1.getName());
        System.out.println(a1.getPrice());
    }
}
